﻿using System;
namespace System.Data.Services.Client
{
    /// <summary>Represents the type of HTTP implementation to use when accessing the data service.Supported only by the WCF Data Services 5.0 client for Silverlight.</summary>
    public enum HttpStack
    {
        /// <summary>
        /// Automatically choose the HTTP stack
        /// When possible XmlHttp stack will be used, otherwise the Client stack will be used
        /// </summary>
        Auto,
        /// <summary>
        /// The ClientHttp stack will be used for HTTP requests
        /// </summary>
        ClientHttp,
        /// <summary>
        /// The XmlHttpRequest stack will be used for HTTP requests
        /// </summary>
        XmlHttp
    }
}
